import request from '../request'

//用户端-商品分类列表
export const categoryList = params => request.globalRequest(`/v3/app/goods/categoryList`, 'GET', params, false)

//用户端-商品列表
export const goodsList = params => request.globalRequest(`/v3/app/goods/goodsList`, 'GET', params, false)

//用户端-商品详情
export const goodsDetail = params => request.globalRequest(`/v3/app/goods/goodsDetail`, 'GET', params)

//通用-文章分类列表
export const queryArticleCategory = params => request.globalRequest(`/v3/app/article/queryArticleCategory`, 'GET', params)

//用户端-文章列表
export const clientQueryArticleList = params => request.globalRequest(`/v3/app/article/client/queryArticleList`, 'GET', params)

//用户端-文章详情
export const clientQueryArticleDetail = params => request.globalRequest(`/v3/app/article/client/queryArticleDetail`, 'GET', params)

//通用-查询轮播图列表
export const queryBannerList = params => request.globalRequest(`/v3/app/article/queryBannerList`, 'GET', params)
